gpsbabel.git
8 years agoHeader sorting, modernization.
Robert Lipe [Mon, 27 Nov 2017 04:45:45 +0000 (22:45 -0600)]
Header sorting, modernization.

8 years agoHeader sorting, modernization.
Robert Lipe [Mon, 27 Nov 2017 04:45:19 +0000 (22:45 -0600)]
Header sorting, modernization.

8 years agoHeader mods.
Robert Lipe [Mon, 27 Nov 2017 04:43:16 +0000 (22:43 -0600)]
Header mods.

8 years agoMore header sorting.
Robert Lipe [Mon, 27 Nov 2017 04:42:16 +0000 (22:42 -0600)]
More header sorting.

8 years agoTry hoisting windows.h earlier for windows build.
Robert Lipe [Mon, 27 Nov 2017 02:44:47 +0000 (20:44 -0600)]
Try hoisting windows.h earlier for windows build.

8 years agoRemove more strays.
Robert Lipe [Mon, 27 Nov 2017 01:04:24 +0000 (19:04 -0600)]
Remove more strays.

8 years agoEliminate stray .note files.
Robert Lipe [Mon, 27 Nov 2017 01:01:02 +0000 (19:01 -0600)]
Eliminate stray .note files.

8 years agoTry to make #includes consistently ordered.
Robert Lipe [Mon, 27 Nov 2017 00:57:11 +0000 (18:57 -0600)]
Try to make #includes consistently ordered.

8 years agoMechanically update c style foo(void)
Robert Lipe [Fri, 24 Nov 2017 06:31:28 +0000 (00:31 -0600)]
Mechanically update c style foo(void)

8 years agoRemove remaining scraps of electric fence. Valgrind > efence.
Robert Lipe [Wed, 22 Nov 2017 23:15:22 +0000 (17:15 -0600)]
Remove remaining scraps of electric fence. Valgrind > efence.

8 years agoKeep the explict -l in LIBS.
Robert Lipe [Sat, 11 Nov 2017 04:35:04 +0000 (22:35 -0600)]
Keep the explict -l in LIBS.

8 years agoOmit the explicit .lib
Robert Lipe [Sat, 11 Nov 2017 04:17:47 +0000 (22:17 -0600)]
Omit the explicit .lib

8 years agoTry letting the compiler driver resolve path to setupapi.lib
Robert Lipe [Sat, 11 Nov 2017 03:58:00 +0000 (21:58 -0600)]
Try letting the compiler driver resolve path to setupapi.lib

8 years agoDoink. GPSBabel.pro. app.pro is the GUI.
Robert Lipe [Sat, 11 Nov 2017 03:46:05 +0000 (21:46 -0600)]
Doink. GPSBabel.pro. app.pro is the GUI.

8 years agoqmake with path instead of cd
Robert Lipe [Sat, 11 Nov 2017 03:45:00 +0000 (21:45 -0600)]
qmake with path instead of cd

8 years agoChdir into gpsbabel before build.
Robert Lipe [Sat, 11 Nov 2017 03:43:16 +0000 (21:43 -0600)]
Chdir into gpsbabel before build.

8 years agoFirst take at appveyor. Inspired by VLC. This should run qmake.
Robert Lipe [Sat, 11 Nov 2017 03:39:45 +0000 (21:39 -0600)]
First take at appveyor. Inspired by VLC. This should run qmake.

8 years agoAnother deprecated file from MSVC proj. Qt Includes are still whacked.
Robert Lipe [Sat, 11 Nov 2017 03:25:47 +0000 (21:25 -0600)]
Another deprecated file from MSVC proj. Qt Includes are still whacked.
Probably best to just recomment qmake as the Official Way.

8 years agoFirst pass at removing obsolete files from MSVC proj.
Robert Lipe [Sat, 11 Nov 2017 03:04:00 +0000 (21:04 -0600)]
First pass at removing obsolete files from MSVC proj.

8 years agoRef isnan from cstd namespace.
Robert Lipe [Sun, 5 Nov 2017 00:27:06 +0000 (19:27 -0500)]
Ref isnan from cstd namespace.

8 years agoRemove leftover PDB code from the Palm/OS era.
Robert Lipe [Fri, 3 Nov 2017 22:03:55 +0000 (17:03 -0500)]
Remove leftover PDB code from the Palm/OS era.

8 years agoTypo fixes.
Robert Lipe [Thu, 2 Nov 2017 21:59:28 +0000 (16:59 -0500)]
Typo fixes.

8 years agoFix hyperactive warnings in new clang/gcc versions.
Robert Lipe [Thu, 2 Nov 2017 21:55:10 +0000 (16:55 -0500)]
Fix hyperactive warnings in new clang/gcc versions.

8 years agoRemove unused case_ignore_str_match.
Robert Lipe [Thu, 2 Nov 2017 21:11:58 +0000 (16:11 -0500)]
Remove unused case_ignore_str_match.

8 years agoMore header cleanups from trees laying around.
Robert Lipe [Thu, 2 Nov 2017 20:50:15 +0000 (15:50 -0500)]
More header cleanups from trees laying around.

More C++-like
Whitespace fixes
Include guards

8 years agoMerge pull request #97 from gpsbabel/master
Robert Lipe [Thu, 2 Nov 2017 05:56:29 +0000 (00:56 -0500)]
Merge pull request #97 from gpsbabel/master

Minor Header fixes

8 years agoMerge pull request #88 from viettaml/viettaml-patch-6
Robert Lipe [Thu, 2 Nov 2017 05:54:39 +0000 (00:54 -0500)]
Merge pull request #88 from viettaml/viettaml-patch-6

Add Unicode argument support to Windows

8 years agoMerge pull request #95 from fbonzon/patch-001
Robert Lipe [Thu, 2 Nov 2017 04:53:05 +0000 (23:53 -0500)]
Merge pull request #95 from fbonzon/patch-001

Sync ICAO country code table with Wikipedia

8 years agoFix tests
François Bonzon [Thu, 26 Oct 2017 02:18:56 +0000 (04:18 +0200)]
Fix tests

8 years agoFix tests
François Bonzon [Thu, 26 Oct 2017 02:11:34 +0000 (04:11 +0200)]
Fix tests

8 years agoSync ICAO country code table with Wikipedia
François Bonzon [Thu, 26 Oct 2017 01:54:32 +0000 (03:54 +0200)]
Sync ICAO country code table with Wikipedia

8 years agoConsistency
François Bonzon [Thu, 26 Oct 2017 01:49:04 +0000 (03:49 +0200)]
Consistency

Use tab, not space
Alphabetical order

8 years agoFix comments
François Bonzon [Thu, 26 Oct 2017 01:48:09 +0000 (03:48 +0200)]
Fix comments

8 years agoFix a compiler warning
François Bonzon [Thu, 26 Oct 2017 01:44:27 +0000 (03:44 +0200)]
Fix a compiler warning

warning: equality comparison with extraneous parentheses [-Wparentheses-equality]

8 years agoUpdate README
François Bonzon [Wed, 25 Oct 2017 23:55:55 +0000 (01:55 +0200)]
Update README

Use https links
Add year in date

8 years agoMerge pull request #80 from habi/patch-1
Robert Lipe [Tue, 24 Oct 2017 19:56:37 +0000 (14:56 -0500)]
Merge pull request #80 from habi/patch-1

Markdownified README

8 years agoMerge pull request #89 from goeranu/master
Robert Lipe [Tue, 24 Oct 2017 19:53:30 +0000 (14:53 -0500)]
Merge pull request #89 from goeranu/master

Use Latin1 when converting from Garmin device.

8 years agoMerge pull request #93 from gpsbabel/robertlipe-patch-1
GPSBabel [Sun, 15 Oct 2017 16:30:52 +0000 (11:30 -0500)]
Merge pull request #93 from gpsbabel/robertlipe-patch-1

Correctly read diff and terr from geo format.

8 years agoCorrectly read diff and terr from geo format.
Robert Lipe [Sun, 15 Oct 2017 02:59:24 +0000 (21:59 -0500)]
Correctly read diff and terr from geo format.

Thank you, Rick Richardson.

8 years agoUse Latin1 when converting from Garmin device.
Göran Uddeborg [Sun, 1 Oct 2017 16:20:45 +0000 (18:20 +0200)]
Use Latin1 when converting from Garmin device.

Clean up duplicate call to simplified on the waypoint description
string.

8 years agoAdd Unicode argument support to Windows
viettaml [Tue, 26 Sep 2017 08:10:56 +0000 (01:10 -0700)]
Add Unicode argument support to Windows

Use QCoreApplication::arguments() to properly ingest Unicode arguments and convert them to UTF-8. Remove use of QString::fromLocal8Bit(), as file path arguments are no longer "local 8-bit" on Windows (they're UTF-8) and "local 8-bit" on Mac and Linux means UTF-8.

8 years agoMove CSVFMTS_ENABLED to more accurately bracket it when disabled.
Robert Lipe [Tue, 19 Sep 2017 20:27:36 +0000 (15:27 -0500)]
Move CSVFMTS_ENABLED to more accurately bracket it when disabled.

8 years agoMerge branch 'master' of https://github.com/gpsbabel/gpsbabel
Robert Lipe [Tue, 19 Sep 2017 20:26:58 +0000 (15:26 -0500)]
Merge branch 'master' of https://github.com/gpsbabel/gpsbabel

8 years agoPrefer QStringLiteral over implicit conversion from Latin1 for Q5 5.9. Based on work...
Robert Lipe [Tue, 5 Sep 2017 04:20:00 +0000 (23:20 -0500)]
Prefer QStringLiteral over implicit conversion from Latin1 for Q5 5.9. Based on work by Bernd Zeimetz.

8 years agoMore liberally use QStringLiteral for Qt 5.9.
Robert Lipe [Tue, 5 Sep 2017 04:08:36 +0000 (23:08 -0500)]
More liberally use QStringLiteral for Qt 5.9.

8 years agoMarkdownified README
David Haberthür [Tue, 8 Aug 2017 09:00:30 +0000 (11:00 +0200)]
Markdownified README

8 years agoFix valgrind's warning about an uninitialized variable that.
Robert Lipe [Sun, 2 Jul 2017 23:18:32 +0000 (18:18 -0500)]
Fix valgrind's warning about an uninitialized variable that.

8 years agoFinish (?) cleanups in pcx.cc. commonize waypoint datetime reader, even though nobody...
Robert Lipe [Sun, 2 Jul 2017 04:02:27 +0000 (23:02 -0500)]
Finish (?) cleanups in pcx.cc. commonize waypoint datetime reader, even though nobody noticed
that we went to all the effort to parse it but never put it IN the waypoint in the last 16 years.
Other minor parse improvements.

8 years agoReformat pcx.cc via clang-format -style=google to make it at least self-consistent.
Robert Lipe [Sun, 2 Jul 2017 02:55:37 +0000 (21:55 -0500)]
Reformat pcx.cc via clang-format -style=google to make it at least self-consistent.

8 years agoRework 'T' and 'W' readers in PCX for robustness.
Robert Lipe [Sun, 2 Jul 2017 02:54:40 +0000 (21:54 -0500)]
Rework 'T' and 'W' readers in PCX for robustness.

8 years agoMerge pull request #79 from languitar/fix-pcx
Robert Lipe [Sat, 1 Jul 2017 22:06:22 +0000 (17:06 -0500)]
Merge pull request #79 from languitar/fix-pcx

Parsing safety for pcx files

8 years agoParsing safety for pcx files
Johannes Wienke [Sat, 1 Jul 2017 20:20:24 +0000 (22:20 +0200)]
Parsing safety for pcx files

Fix a few segmentation faults possible by unchecked sscanf calls.

8 years agoMinor code modernization in itracku and tpo.
Robert Lipe [Fri, 30 Jun 2017 19:22:07 +0000 (14:22 -0500)]
Minor code modernization in itracku and tpo.

Changed only the encoder to QDateTime in itracku as the other direction
lacked test coverage.
More consistent use of QString in tpo, making it harder to overrun
fixed buffer lengths.

8 years agoMerge branch 'master' of https://github.com/gpsbabel/gpsbabel
Robert Lipe [Fri, 30 Jun 2017 17:29:09 +0000 (12:29 -0500)]
Merge branch 'master' of https://github.com/gpsbabel/gpsbabel

8 years agoMake IGC reader more robust on nonsense input.
Robert Lipe [Fri, 30 Jun 2017 17:28:30 +0000 (12:28 -0500)]
Make IGC reader more robust on nonsense input.

8 years agoMerge pull request #76 from dark/fitv2-test
GPSBabel [Wed, 28 Jun 2017 19:20:52 +0000 (14:20 -0500)]
Merge pull request #76 from dark/fitv2-test

garmin_fit: add a test to cover the fitv2 features added recently

8 years agoUpdate skytraq UTC/GPS time handling.
Robert Lipe [Wed, 28 Jun 2017 19:10:37 +0000 (14:10 -0500)]
Update skytraq UTC/GPS time handling.

Update tables with latest two constant changes.
Add command line option for overriding this.

8 years agogarmin_fit: add a test to cover the fitv2 features added recently
Marco Leogrande [Wed, 28 Jun 2017 04:33:29 +0000 (21:33 -0700)]
garmin_fit: add a test to cover the fitv2 features added recently

The reference file was created using a Garmin VIRB Ultra 30 action
camera.

8 years agoMerge pull request #75 from dark/fitv2
GPSBabel [Tue, 27 Jun 2017 16:56:20 +0000 (11:56 -0500)]
Merge pull request #75 from dark/fitv2

Support v2 of the Garmin FIT format

8 years agogarmin_fit: use constants instead of magic numbers
Marco Leogrande [Sat, 24 Jun 2017 21:51:47 +0000 (14:51 -0700)]
garmin_fit: use constants instead of magic numbers

This is for better code readability.

8 years agogarmin_fit: add handling of global UTC offset
Marco Leogrande [Thu, 22 Jun 2017 06:40:15 +0000 (23:40 -0700)]
garmin_fit: add handling of global UTC offset

Some devices may record timestamps in system time (i.e. boot time),
rather than system time. As mentioned in Github issue #54 and in the
upstream documentation, we can recognize such a scenario when
timestamp is < 0x10000000.

Field 4 under the global ID for device settings records the difference
between system time and UTC time (this is called global UTC offset in
the upstream documentation).

Add code to store the global UTC offset in a new global variable, and
correctly handle all timestamps with the new information.

8 years agogarmin_fit: implement enhanced speed and enhanced altitude
Marco Leogrande [Thu, 22 Jun 2017 06:04:57 +0000 (23:04 -0700)]
garmin_fit: implement enhanced speed and enhanced altitude

Add handling for fields 73 (enhanced_speed) and 78 (enhanced_altitude)
under global ID 20. Their value is handled exactly the same way as
speed (field 6) and altitude (field 2), except that they have larger
width.

8 years agogarmin_fit: fix tests
Marco Leogrande [Sat, 24 Jun 2017 23:04:07 +0000 (16:04 -0700)]
garmin_fit: fix tests

Fix the reference files for the Garmin FIT tests, that now changed
because of the previous bugfix related to the incorrectly nested
switch blocks.

8 years agogarmin_fit: bugfix in switch logic
Marco Leogrande [Thu, 22 Jun 2017 05:35:03 +0000 (22:35 -0700)]
garmin_fit: bugfix in switch logic

The logic for global ID 19 was incorrectly nested under the logic for
global ID 20. Fix the issue by making the two case labels correct
siblings in the same switch statement.

8 years agoMerge pull request #74 from turboencabulator/configure
GPSBabel [Fri, 23 Jun 2017 18:28:01 +0000 (13:28 -0500)]
Merge pull request #74 from turboencabulator/configure

More autoconf modernizations

8 years agoRemove remnants of --with-cet and --enable-pdb
Kyle Guinn [Fri, 23 Jun 2017 05:28:56 +0000 (00:28 -0500)]
Remove remnants of --with-cet and --enable-pdb

8 years agoFix various typos
Kyle Guinn [Fri, 23 Jun 2017 05:10:55 +0000 (00:10 -0500)]
Fix various typos

8 years agoUpdate C++ version detection script
Kyle Guinn [Wed, 21 Jun 2017 06:38:42 +0000 (01:38 -0500)]
Update C++ version detection script

8 years agoUpdate autoconf-required files; move them to build-aux
Kyle Guinn [Wed, 21 Jun 2017 06:05:37 +0000 (01:05 -0500)]
Update autoconf-required files; move them to build-aux

8 years agoMerge pull request #73 from turboencabulator/configure
Robert Lipe [Tue, 20 Jun 2017 23:29:39 +0000 (18:29 -0500)]
Merge pull request #73 from turboencabulator/configure

Various cleanups to configure

8 years agoRemove last traces of configure.in
Kyle Guinn [Fri, 16 Jun 2017 06:20:28 +0000 (01:20 -0500)]
Remove last traces of configure.in

8 years agoUse macros to generate help strings and shell code
Kyle Guinn [Fri, 16 Jun 2017 05:52:59 +0000 (00:52 -0500)]
Use macros to generate help strings and shell code

8 years agoRename configure.in to configure.ac
Kyle Guinn [Fri, 16 Jun 2017 03:36:18 +0000 (22:36 -0500)]
Rename configure.in to configure.ac

8 years agoKeep the Windows-style icons in dialog OK and cancel only in Windows.
Robert Lipe [Fri, 2 Jun 2017 23:01:57 +0000 (18:01 -0500)]
Keep the Windows-style icons in dialog OK and cancel only in Windows.

8 years agoFix parse of $GPGSA,A,*03
Robert Lipe [Wed, 17 May 2017 16:51:01 +0000 (11:51 -0500)]
Fix parse of $GPGSA,A,*03

8 years agoMake GPGSA more robust for short sentences, more C++-like. Add warning for badk check...
Robert Lipe [Wed, 17 May 2017 04:58:47 +0000 (23:58 -0500)]
Make GPGSA more robust for short sentences, more C++-like. Add warning for badk checksums.

8 years agoFix ew recognition in unicsv reader.
GPSBabel [Mon, 1 May 2017 00:36:06 +0000 (19:36 -0500)]
Fix ew recognition in unicsv reader.

See mail thread "[Gpsbabel-code] WG: unicsv.cc - bug?" from Levin at Capecross

8 years agoUse https in KML writer, esp. for geocaching and tracks.
Robert Lipe [Sun, 9 Apr 2017 03:35:45 +0000 (22:35 -0500)]
Use https in KML writer, esp. for geocaching and tracks.

Geocaching 'Other' tab:
* Reduce number of redirects to Google Maps.
* Drop StreetView. It can be reached from Maps.
* RIP Yahoo Maps, Microsoft Research Maps (nee Terraserver)
reference*: regenerate reference files.

9 years agoMerge pull request #68 from cj4567/master
GPSBabel [Thu, 9 Mar 2017 03:14:14 +0000 (21:14 -0600)]
Merge pull request #68 from cj4567/master

Fixed altitude in interpolate filter

9 years agoRevert "fixed interpolate for dates < 1970 and > 2106"
cj4567 [Wed, 8 Mar 2017 22:41:12 +0000 (23:41 +0100)]
Revert "fixed interpolate for dates < 1970 and > 2106"

This reverts commit e99066f332da5913daebd03c61e531cb9262bfa4.

9 years agofixed interpolate for dates < 1970 and > 2106
cj4567 [Wed, 8 Mar 2017 22:23:02 +0000 (23:23 +0100)]
fixed interpolate for dates < 1970 and > 2106

9 years agochanged line endings and indentation back to original
cj4567 [Wed, 8 Mar 2017 21:28:52 +0000 (22:28 +0100)]
changed line endings and indentation back to original

9 years agoFixed test case for interpolate
cj4567 [Tue, 7 Mar 2017 23:36:59 +0000 (00:36 +0100)]
Fixed test case for interpolate

9 years agoFixed test case for interpolation
cj4567 [Tue, 7 Mar 2017 23:26:28 +0000 (00:26 +0100)]
Fixed test case for interpolation

9 years agoElevation fix in interpolate
cj4567 [Tue, 7 Mar 2017 22:44:11 +0000 (23:44 +0100)]
Elevation fix in interpolate

9 years agoDrop support for configure options that haven't been available in years.
Robert Lipe [Thu, 2 Mar 2017 00:53:37 +0000 (18:53 -0600)]
Drop support for configure options that haven't been available in years.

9 years agoMerge pull request #67 from ra1fh/ggv-ovl-v2-bugfix
GPSBabel [Thu, 16 Feb 2017 17:34:59 +0000 (11:34 -0600)]
Merge pull request #67 from ra1fh/ggv-ovl-v2-bugfix

Fix GeoGrid OVL V2.0 Unknown subtype (17)

9 years agoFix GeoGrid OVL V2.0 Unknown subtype (17)
Ralf Horstmann [Wed, 15 Feb 2017 19:02:02 +0000 (20:02 +0100)]
Fix GeoGrid OVL V2.0 Unknown subtype (17)

Fixes issue #66.

OVL V2.0 files contain the additional text field for all subtype
values != 1, not just for subtype 0x10. The V3.0 and V4.0 readers
do handle this correctly already.

Add a test case that exposes the bug.

Change bincompare to compare for the gpx output files in the
ggv_bin test cases while there.

9 years agoStyle cleanup for new geojson code. Add test for reader.
Robert Lipe [Thu, 26 Jan 2017 00:04:46 +0000 (18:04 -0600)]
Style cleanup for new geojson code. Add test for reader.

9 years agoMerge branch 'webengine'
Robert Lipe [Wed, 25 Jan 2017 23:29:57 +0000 (17:29 -0600)]
Merge branch 'webengine'

9 years agoRelease fix.
Robert Lipe [Wed, 25 Jan 2017 23:23:50 +0000 (17:23 -0600)]
Release fix.

9 years agoCheck in some scraggler files from branch.
Robert Lipe [Wed, 25 Jan 2017 23:21:55 +0000 (17:21 -0600)]
Check in some scraggler files from branch.

9 years agoMerge pull request #63 from IsraelHikingMap/master
GPSBabel [Wed, 25 Jan 2017 23:01:13 +0000 (17:01 -0600)]
Merge pull request #63 from IsraelHikingMap/master

Added geojson read capablity,

9 years agoUpdated documentation, added geojson.geojson test file, updated vecs array according...
Harel Mazor [Wed, 25 Jan 2017 21:49:57 +0000 (23:49 +0200)]
Updated documentation, added geojson.geojson test file, updated vecs array according to code review.

9 years agoMerge pull request #64 from OliverHe/bushnell_nullptr_fix
GPSBabel [Wed, 25 Jan 2017 20:03:07 +0000 (14:03 -0600)]
Merge pull request #64 from OliverHe/bushnell_nullptr_fix

Use nullptr instead of comparing to 0

9 years agoUse nullptr instead of comparing to 0
CMCOliver [Tue, 24 Jan 2017 15:27:18 +0000 (16:27 +0100)]
Use nullptr instead of comparing to 0

9 years agoAdded geojson read capablity, moved magic strings to constants, fixed windows compila...
Harel Mazor [Mon, 23 Jan 2017 22:35:04 +0000 (00:35 +0200)]
Added geojson read capablity, moved magic strings to constants, fixed windows compilation issues.

9 years agotweak gui app.pro file in an attempt to work around various qt distributions that...
tsteven4 [Mon, 2 Jan 2017 22:27:03 +0000 (15:27 -0700)]
tweak gui app.pro file in an attempt to work around various qt distributions that use webkit instead of the newer webenginewidgets.

9 years agoRegenerate translation files as part of generating Mac release image.
Robert Lipe [Mon, 2 Jan 2017 05:05:19 +0000 (23:05 -0600)]
Regenerate translation files as part of generating Mac release image.

9 years agoBump version. Roll back non-working https changes. Deal with annoying Windows issues...
Robert Lipe [Mon, 2 Jan 2017 04:51:16 +0000 (22:51 -0600)]
Bump version. Roll back non-working https changes. Deal with annoying Windows issues for release build.